package com.woniu.smart.service;

import com.woniu.smart.entity.SysAdmin;

import java.util.List;

/**
 * @Description: TODO
 * @Author: WangHeng
 * @Date: 2022/10/19 19:29
 */
public interface SysAdminService {

    int deleteByPrimaryKey(Long id);

    int insert(SysAdmin record);

    int insertSelective(SysAdmin record);
    int selectByEmpName(String empName);
    //根据员工姓名查找员工电话
    SysAdmin selectEmpTelByEmpName(String EmpName);

    List<SysAdmin> selectByAll();
    SysAdmin selectByPrimaryKey(Long id);
    SysAdmin login(String empTel);

    int updateByPrimaryKeySelective(SysAdmin record);

    int updateByPrimaryKey(SysAdmin record);
}
